<ul class="jstree-children">
  <ng-container *ngFor="let zone of value; let last = last">
    <li
      class="jstree-node"
      [class.jstree-last]="last"
      [class.jstree-open]="zone.children.length"
      [class.jstree-leaf]="!zone.children.length"
      [class.jstree-closed]="children.closed"
    >
      <i class="jstree-icon jstree-ocl" (click)="click(children)"></i>
      <div class="jstree-anchor">
        <div class="zone-info">
          <m-go-detail class="a" [g_id]="zone.id" [g_name]="zone.name">{{ zone.name }}</m-go-detail>
          <div [style.opacity]="0">&nbsp;</div>
          <span class="desc">{{ zone.des | ellipsis }}</span>
          <div class="count">
            <span>人员数：{{ zone.user_count }}人</span>
            <span>终端数：{{ zone.pc_count }}台</span>
            <span>软件数：{{ zone.software_count }}款</span>
          </div>
        </div>
      </div>
      <m-tree-item [value]="zone.children" #children></m-tree-item>
    </li>
  </ng-container>
</ul>
